package main

import (
	"time"
	"fmt"
)

func main01() {
	myTime := time.NewTimer(time.Second)
	t:=<-myTime.C
	fmt.Println(t)

}

func main() {
	myTime := time.After(time.Second)
	t:=<-myTime
	fmt.Println(t)

}
